package com.sweb.controller;

import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * Created by yanxi on 2018/1/27 0027.
 */
@RestController
@RequestMapping("/index")
public class indexCtr {

    @RequestMapping("/user/${type}/")
    public String index(@PathVariable String type){

        return "index";
    }
}
